package com.sbm.merge.设计模式.factory.abstractfactory;

import com.sbm.merge.设计模式.factory.abstractfactory.components.AndroidButton;
import com.sbm.merge.设计模式.factory.abstractfactory.components.AndroidTextField;
import com.sbm.merge.设计模式.factory.abstractfactory.components.Button;
import com.sbm.merge.设计模式.factory.abstractfactory.components.TextField;

public class AndriodGUIFactory implements GUIFactory {


    @Override
    public Button createButton() {
        return new AndroidButton();
    }

    @Override
    public TextField createTextField() {
        return new AndroidTextField();
    }
}
